home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
bbs_util
/
bsrc_260.zip
/
INCLUDE.ZIP
/
EXTERNS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-26
|
15KB
|
486 lines
/*--------------------------------------------------------------------------*/
/* */
/* */
/* ------------ Bit-Bucket Software, Co. */
/* \ 10001101 / Writers and Distributors of */
/* \ 011110 / Freely Available<tm> Software. */
/* \ 1011 / */
/* ------ */
/* */
/* (C) Copyright 1987-96, Bit Bucket Software Co. */
/* */
/* */
/* */
/* BinkleyTerm Data */
/* */
/* */
/* For complete details of the licensing restrictions, please refer */
/* to the License agreement, which is published in its entirety in */
/* the MAKEFILE and BT.C, and also contained in the file LICENSE.260. */
/* */
/* USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE */
/* BINKLEYTERM LICENSING AGREEMENT. IF YOU DO NOT FIND THE TEXT OF */
/* THIS AGREEMENT IN ANY OF THE AFOREMENTIONED FILES, OR IF YOU DO */
/* NOT HAVE THESE FILES, YOU SHOULD IMMEDIATELY CONTACT BIT BUCKET */
/* SOFTWARE CO. AT ONE OF THE ADDRESSES LISTED BELOW. IN NO EVENT */
/* SHOULD YOU PROCEED TO USE THIS FILE WITHOUT HAVING ACCEPTED THE */
/* TERMS OF THE BINKLEYTERM LICENSING AGREEMENT, OR SUCH OTHER */
/* AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO. */
/* */
/* */
/* You can contact Bit Bucket Software Co. at any one of the following */
/* addresses: */
/* */
/* Bit Bucket Software Co. FidoNet 1:104/501, 1:343/491 */
/* P.O. Box 460398 AlterNet 7:42/1491 */
/* Aurora, CO 80046 BBS-Net 86:2030/1 */
/* Internet f491.n343.z1.fidonet.org */
/* */
/* Please feel free to contact us at any time to share your comments about */
/* our software and/or licensing policies. */
/* */
/*--------------------------------------------------------------------------*/
extern unsigned int BINK_MAJVERSION;
extern unsigned int BINK_MINVERSION;
extern char *ANNOUNCE;
extern char *xfer_id;
extern short SB_COLS_M_1;
extern short SB_ROW_HOLD;
extern short SB_ROW_STATUS;
extern short SB_ROWS_M_1;
extern short SB_ROWS_M_2;
extern struct _key_fnc_hdr TrmnlKeyFncHdr;
extern struct _key_fnc_hdr UnattendedKeyFncHdr;
extern struct _lang_hdr *LangHdr;
extern char **msgtxt;
extern char *mtext[];
extern struct baud_str btypes[];
#ifdef EXTENDED_BAUDRATES
extern int extend_rates;
extern struct baud_str exttypes[];
#endif
extern struct baud_str max_baud; /* Maximum baud rate */
extern struct baud_str *pbtypes;
extern struct parse_list far DOS_commands[];
extern int locate_x, locate_y, port_ptr, original_port;
extern int TaskNumber; /* unique user-specified id */
extern int share; /* if 1, don't uninit FOSSIL */
extern int no_sharing; /* if 1, no File Sharing calls*/
extern int no_size; /* If 1, don't compute sizes */
extern int first_block; /* 1 = first block/Matrix packet */
extern int serial; /* serial no, -1 = unregistd.*/
extern int fstblklen;
extern int net_params; /* if 1, net params complete */
extern int un_attended;
extern int command_line_un;
extern int overwrite;
extern int redo_dynam;
extern int fullscreen;
extern int do_screen_blank;
extern int screen_blank;
extern int blank_on_key;
extern unsigned int blank_time;
extern unsigned BBStimeout;
extern int loglevel;
extern int debugging_log;
extern int gong_allowed;
extern int MAXport;
extern int pvtnet;
extern int poll_tries;
extern int ring_tries;
extern int ring_wait;
extern int com_port;
extern int buftmo;
extern unsigned int comm_bits;
extern unsigned int parity;
extern unsigned int stop_bits;
extern unsigned int carrier_mask;
extern unsigned int handshake_mask;
extern int baud; /* Index to baud table */
extern struct baud_str cur_baud; /* Current baud rate */
extern int fax_baud; /* Index to fax baud */
extern char *modem_init; /* Used to init modem */
extern char *term_init; /* Used to init modem */
extern char *modem_busy; /* Take modem offhook */
extern char *modem_aftercall; /* Sent to modem after call *//* MB 93-12-12 AFTERCALL */
extern int lines_aftercall;
extern char *predial; /* Pre-dial setup */
extern char *postdial; /* Post-dial cleanup */
extern char *normprefix;
extern char *normsuffix;
extern char *dial_setup;
extern char *init_setup;
extern char *emsistr[];
extern unsigned int matrix_mask;
extern char *system_name;
extern char *sysop;
extern char *location;
extern char *mymaxbaud;
extern char *myflags;
extern char *myphone;
extern char *netmail;
extern char *net_info;
extern char *hold_area;
extern char *flag_dir;
extern char *fax_in;
extern char *domain_area;
extern char *domain_loc;
extern ADDR alias[];
extern int num_addrs;
extern int assumed;
extern ADDR boss_addr;
extern ADDR my_addr;
extern struct secure CURRENT;
extern struct secure DEFAULT;
extern struct secure KNOWN;
extern struct secure PROT;
extern struct req_accum freq_accum;
extern char *domain_name[];
extern char *domain_abbrev[];
extern char *domain_nodelist[];
extern DOMAINKLUDGE *domainkludge; /* Pointer to domain kludges */
extern int num_domain_kludge; /* Number of domain kludges */
extern int size_domain_kludge; /* Current size of kludge */
extern byte *Txbuf; /* Pointer to transmit buffer */
extern byte *Secbuf; /* Pointer to receive buffer */
extern byte *popbuf; /* Pointer to popup buffer */
extern char *native_protocols;
extern char *extern_protocols;
extern char *protocols[];
extern int extern_index;
extern struct prototable protos[];
extern char *ext_mail_string[]; /* String for UUCP, etc. */
extern int lev_ext_mail[]; /* Errorlevel for ext mail */
extern int num_ext_mail; /* Number of ext mails */
extern char *BBSopt;
extern char *BBSbanner;
extern char *BBSreader;
extern char *BOSSphone;
extern char *BOSSpwd;
extern char *download_path;
extern char *BBSnote;
extern char *MAILnote;
extern char *EXTopt;
#ifdef BINKLEY_SOUNDS
extern char *fnBBSSound;
extern char *fnEXTSound;
extern char *fnMailSound;
extern char *fnFileSound;
extern char *fnStartSound;
extern char *fnFAXSound;
#endif
extern void (_cdecl * mtask_idle) (void);
extern char *mtask_name;
extern char *BINKpath;
extern char capturename[];
extern char *log_name;
extern char *config_name;
extern char *swapdir;
extern char *saved_TZ;
extern char *scan_list[];
extern int set_loaded;
extern byte user_exits[6];
extern char junk[];
extern int happy_compiler;
extern REGIONP wholewin;
extern REGIONP settingswin;
extern REGIONP historywin;
extern REGIONP holdwin;
extern REGIONP callwin;
extern REGIONP filewin;
extern int scrllines;
extern PN_TRNS *pn;
extern MDM_TRNS *mm;
extern int resp_count;
extern int max_resp_count;
extern struct resp_str *mdm_resps;
extern int def_resp_count;
extern struct resp_str def_mdm_resps[];
extern FILE *cost_log;
extern char *cost_log_name;
extern int cost_unit;
extern int eurocost;
extern FILE *status_log;
extern short boxtype;
extern int modemring;
extern int no_collide;
extern int cursor_col;
extern int cursor_row;
extern char *ans_str;
extern char *keys[];
extern char *shells[];
extern char *errlvlshell[];
extern struct parse_list far rspverbs[];
extern struct parse_list far config_lines[];
extern int got_arcmail;
extern int got_packet;
extern int got_mail;
extern int got_fax;
extern int mail_finished;
extern int sent_mail;
extern ADDR remote_addr;
extern unsigned short remote_capabilities;
extern unsigned short my_capabilities;
extern ADDR remote_akas[]; /* List of alias addresses of remote */
extern int num_rakas; /* How many he's using (EMSI) */
extern int remote_pickup;
extern ADDR next_addr;
extern int Netmail_Session;
extern char *remote_password;
extern char *BBSesc;
extern char *noBBS;
extern int no_pickup;
extern int pickup_all;
extern int no_WaZOO;
extern int no_WaZOO_Session;
extern int no_EMSI;
extern int no_EMSI_Session;
extern int made_request; /* WaZOO file request flag */
extern int isOriginator;
extern HISTORY start_hist;
extern word ExtMailMask;
extern char *ExtMailAgent;
extern char *request_template;
extern char *ext_flags;
extern int net_problems; /* This should be external */
extern char *prodcode[];
extern struct _lang_hdr *PrdctHdr;
extern char **PrdctTbl;
extern struct _lang_hdr *AnsiHdr;
extern char *AnsiTbl;
#ifdef HAVE_HYDRA
extern ULONG hydra_options;
extern long hydra_txwindow;
extern long hydra_rxwindow;
#endif
extern int no_hydra;
extern int no_janus;
extern int no_zapzed;
extern int no_dietifna;
extern int on_our_nickel;
extern int use_winfossil;
extern char fossil_buffer[];
extern char out_buffer[];
extern char *fossil_fetch_pointer;
extern char *out_send_pointer;
extern int fossil_count;
extern int out_count;
extern int old_fossil;
extern int rev3;
extern char ctrlc_ctr;
extern FOSINFO fossil_info;
extern char no_requests;
extern int who_is_he;
extern int curmudgeon; /* 1 = Randy Bush */
extern int small_window;
extern int no_overdrive;
extern int no_resync;
extern int no_sealink;
extern int immed_update;
extern unsigned long janus_baud;
extern ADDR called_addr;
extern int mail_only;
extern int caller;
extern int more_mail;
extern int doing_poll;
extern char far BBSwelcome[];
extern char *aftermail;
extern int find_counter;
extern struct FILEINFO dta_str;
extern int slowmodem;
extern PN_TRNS *pn_head;
extern P_ANUMS anum_head;
extern MDM_TRNS *mm_head;
extern unsigned have_windows;
extern unsigned have_mos;
extern unsigned have_dv;
extern unsigned have_ddos;
extern unsigned have_tv;
extern unsigned have_ml;
extern unsigned winslice;
extern unsigned long lock_baud;
extern int ARQ_lock; /* If 1, baudrate is locked */
extern int ARQs; /* Number of ARQ strings */
extern char *ARQ[16]; /* Pointers to ARQ strings */
extern int cMNP; /* Number of MNP strings */
extern char *pchMNP[16]; /* Pointers to MNP strings */
extern char e_input[];
extern char *IDUNNO_msg;
extern char *local_CEOL;
extern char *wkday[];
extern int _days[];
extern char *nodelist_name; /* Name of our nodelist */
extern char *nodelist_base; /* Name of current nodelist */
extern char *max_areadat;
extern int newnodelist;
extern int version7;
extern int autobaud;
extern unsigned short found_zone; /* zone we found */
extern unsigned short found_net; /* zone we found */
extern struct _newnode newnodedes; /* structure in new list */
extern char far *node_index;
extern HISTORY hist;
extern BINK_EVENT far *e_ptrs;
extern int requests_ok;
extern int num_events;
extern int cur_event;
extern int next_event;
extern int got_sched;
extern int noforce;
extern int no_zones;
extern int max_connects;
extern int max_noconnects;
extern int server_mode;
extern int forcexit;
extern char *packer;
extern char *cleanup;
extern char *answerback;
extern time_t etm;
extern long file_length;
extern long TX_FileSize;
extern long TX_StTime;
extern int TX_OldETA;
extern long RX_FileSize;
extern long RX_StTime;
extern int RX_OldETA;
extern char *XFER_str;
extern char *script_path; /* Where the script files live */
extern char Rxhdr[]; /* Received header */
extern char Txhdr[]; /* Transmitted header */
#ifndef GENERIC
extern long *RXlong;
extern long *TXlong;
#endif
extern long Rxpos; /* Received file position */
extern int Txfcs32; /* TRUE means send binary frames with 32 bit FCS*/
extern int Crc32t; /* Display flag indicating 32 bit CRC being sent*/
extern int Crc32; /* Display flag indicating 32 bit CRC being rcvd*/
extern int Znulls; /* # of nulls to send at beginning of ZDATA hdr */
extern int Rxtimeout; /* Tenths of seconds to wait for something */
extern int Rxframeind; /* ZBIN ZBIN32,ZHEX type of frame received */
extern char *Filename; /* Name of the file being up/downloaded */
extern word z_size;
extern byte Resume_WaZOO; /* Flags resumption of aborted WaZOO xfer */
extern char Resume_name[]; /* "Real" name of file being received */
extern char Resume_info[]; /* File size&time info for rx file */
extern char Abortlog_name[]; /* Path of WaZOO aborted xfer log */
extern nfunc nodefunc; /* Nodelist function to use */
extern ufunc userfunc; /* Userlist function to use */
extern SB_COLORS colors;
extern int vfossil_installed;
#ifndef OS_2
extern struct vfossil_hooks vfossil_funcs;
#endif
extern char far blanks[];
extern char *logptr;
extern MAILP mail_top;
extern MAILP next_mail;
extern long next_rescan;
extern long waitfor_line;
extern J_TYPESP j_top;
extern J_TYPESP j_next;
extern int janus_OK;
extern char saved_response[];
extern char mdm_reliable[];
extern unsigned long far cr3tab[];
extern unsigned short far crctab[];
extern int leave_dtr_high;
extern short SB_ROWS;
extern short SB_COLS;
extern char *stat_str;
extern char *script_line;
extern int need_update;
extern char *ver_stuff;
extern char *BadChars;
#ifdef Snoop
extern char pipename[];
#endif
extern int pktrsp; /* MB 93-12-12 PKTRSP */